{"version":3,"file":"playlist_edit.min.js","sources":["playlist_edit.js"],"names":["currentLink","currentRow","GLOBAL_bDisableActions","GLOBAL_bDisableDD","BXOpenFD","index","type","window","GLOBAL_FD_PLAYLIST_IND","OpenFD_playlist_video","OpenFD_playlist_image","BXSaveVideoPath","filename","filepath","id","input","BX","firstChild","value","replace","onblur","BXSaveImagePath","menuCheckIcons","obLayout","arRows","n","childNodes","length","i","el","nodeName","toLowerCase","className","push","l","tbl","rows","cells","style","visibility","itemMoveUp","obRow","obPlacement","parentNode","substring","obNewPlacement","previousSibling","obSwap","appendChild","setCurrentRow","itemMoveDown","nextSibling","itemDelete","removeChild","getAreaHTML","area","title","jsMenuMess","noname","currentEditingRow","editArea","bSilent","jsDD","Disable","allowSelection","ondrag","onselectstart","MozUserSelect","obEditArea","obViewArea","display","select","onkeydown","OnKeyDown","focus","jsUtils","IsIE","setTimeout","viewArea","Enable","False","val","trim","bxhtmlspecialchars","innerHTML","jsMess","rowMouseOut","obArea","backgroundColor","rowMouseOver","bFd","bPreStarted","BXDD_DragStart","this","BXOldPlacement","BXDD_DragStop","BXDD_DragHover","x","y","oPlaylistDialog","PARTS","CONTENT","scrollTop","searchDest","arDestinations","getRowInnerHTML","width","fd","parseInt","js_fd_par","res","clickToEdit","openFDTitle","itemAdd","obCounter","create","props","itemDrag","itemUp","itemDown","itemDel","html","registerDest","onbxdragstart","onbxdragstop","onbxdraghover","registerObject","str","e","event","ctrlKey","altKey","which","Fields","len","target","srcElement","maxRows","dest_type","dest_row","name","_ind","indexOf","substr","shiftKey"],"mappings":"AAAA,GAAIA,cAAe,CACnB,IAAIC,YAAa,IACjB,IAAIC,wBAAyB,KAC7B,IAAIC,mBAAoB,KAExB,SAASC,UAASC,EAAOC,GAExBC,OAAOC,uBAAyBH,CAChC,IAAIC,GAAQ,QACXG,4BAEAC,yBAGF,QAASC,iBAAgBC,EAAUC,GAElC,GAAIC,GAAK,sBAAwBP,OAAOC,sBACxC,IAAIO,GAAQC,GAAGF,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